

# export BUN_CONFIG_REGISTRY="https://registry.npmmirror.com/"
# apt-get upgrade -y && && apt-get update -y \
# && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# FROM ubuntu AS builder


FROM dvlprtech/bun:ubuntu AS final
WORKDIR /home/bun/app
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY build/. .
CMD ["bun","index.js"]
EXPOSE 3000


#### 直接打包 基础包170M

#跨域问题 明天解决